// normal request
var xhr = new XMLHttpRequest();
xhr.open("GET","js-tests/xhr-comm.js",true);
xhr.onreadystatechange = function() {
	if(xhr.readyState == 4 && xhr.status == 200) {
		alert(xhr.responseText);
	}
}
alert(xhr.responseText);
xhr.send(null);